import { message } from 'antd';

const initState = {
  ts1: {},
};
export default {
  namespace: 'taskstate',
  state: initState,

  effects: {},

  reducers: {
    reset() {
      return initState;
    },
    saveByKey(state, action) {
      return {
        ...state,
        [action.key]: action.ts,
      };
    },
    trace(state) {
      return state;
    },
  },
};
